package com.ruoyi.xst.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会议室管理对象 room
 * 
 * @author Rambo
 * @date 2024-11-21
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 会议室名称 */
    @Excel(name = "会议室名称")
    private String name;

    /** 所在区域 */
    private String areaCode;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String areaName;

    /** 容纳人数 */
    @Excel(name = "容纳人数")
    private Long capacity;

    /** 门牌数量 */
    @Excel(name = "门牌数量")
    private Long hardwaresCount;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbUrl;

    /** 状态;1开启，0关闭 */
    @Excel(name = "状态;1开启，0关闭")
    private Integer status;

    /** 更新人 */
    @Excel(name = "更新人")
    private String udpateBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }
    public void setHardwaresCount(Long hardwaresCount) 
    {
        this.hardwaresCount = hardwaresCount;
    }

    public Long getHardwaresCount() 
    {
        return hardwaresCount;
    }
    public void setThumbUrl(String thumbUrl) 
    {
        this.thumbUrl = thumbUrl;
    }

    public String getThumbUrl() 
    {
        return thumbUrl;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setUdpateBy(String udpateBy) 
    {
        this.udpateBy = udpateBy;
    }

    public String getUdpateBy() 
    {
        return udpateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("capacity", getCapacity())
            .append("hardwaresCount", getHardwaresCount())
            .append("thumbUrl", getThumbUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("udpateBy", getUdpateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
